home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Graphics / Plotting / Lyapunov / Source / LyapunovView.h < prev    next >
Encoding:
Text File  |  1995-06-12  |  1.2 KB  |  50 lines

  1.  
  2. /* Generated by Interface Builder */
  3.  
  4. #import <appkit/View.h>
  5.  
  6. #define XSIZE 512    // currently fixed size
  7. #define YSIZE 512    // currently fixed size
  8. #define RGB 3        // 3 bytes - red, green, blue
  9.  
  10. #define RED 0
  11. #define GREEN 1
  12. #define BLUE 2
  13.  
  14. @interface LyapunovView:View
  15. {
  16.     id    pattern;
  17.     id    posMatrix;
  18.     id    scaleMatrix;
  19.     id    fromShade;
  20.     id    toShade;
  21.     id  backShade;
  22.     id    depth;
  23.     id  initialValue;
  24.     id  contrastText;
  25.     id  contrastSlider;
  26.     id  avgOut;
  27.     id  plotType;
  28.     id  reApplyButton;
  29.     
  30.     float space[XSIZE][YSIZE];
  31.     char pixels[XSIZE*YSIZE*RGB];
  32.     float xPos, yPos, xScale, yScale, initial, contrast;
  33.     int deep, patternLength;
  34.     short patternNum[16];
  35.     NXColor backColor, fromColor, toColor;
  36.     const char *patternString;
  37.     BOOL singleDot;
  38. }
  39.  
  40. - initFrame:(const NXRect *)frm;        // designated initializer
  41. - appDidInit:sender;                // app delegate method
  42. - go:sender;                    // compute image
  43. - reApply:sender;                // re-compute color map
  44. - contrast:sender;                // sets up contrast
  45. - newParam:sender;                // new image params
  46. - drawSelf:(NXRect *)rects :(int)rectCount;    // internal method
  47. - mouseDown:(NXEvent *)e;            // to easily get new coords
  48.  
  49. @end
  50.